﻿using System.Windows;
using Autofac;
using GarageManagement.Startup;

namespace GarageManagement
{  
    public partial class App
    {
        private void ApplicationStartup(object sender, StartupEventArgs e)
        {
            var container = new IocContainer();
            container.Configure();

            var bootStrapper = IocContainer.Current.Resolve<Bootstrapper>();
            bootStrapper.Execute();
        }
    }
}
